home *** CD-ROM | disk | FTP | other *** search
- #ifndef _INCLUDE_STDARG_H
- #define _INCLUDE_STDARG_H
-
- /*
- ** $VER: stdarg.h 1.0 (18.1.96)
- ** StormC Release 1.0
- **
- ** '(C) Copyright 1995 Haage & Partner Computer GmbH'
- ** All Rights Reserved
- */
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- typedef unsigned int va_list;
-
- #define va_start(vl,lastarg) (vl) = (unsigned int)(&lastarg) + sizeof(lastarg)
- #define va_arg(vl,type) ((vl) += sizeof(type), \
- sizeof(type) > 1 ? ((vl) = (vl) + 1 & 0xfffffffe) : (vl), \
- ((type *) vl)[-1])
- #define va_end(vl)
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-